package com.sprucetec.live.common.dto;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: zhangyb
 * Date: 2019/2/20
 * Time: 11:57
 * Description: 枚举类dto
 **/
public class EnumDto implements Serializable {

    private String code;

    private String desc;

    public EnumDto(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public EnumDto() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "EnumDto{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
